package com.ruoyi.web.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName(value = "mes_produce_piece")
public class ProducePiece {
    @TableId
    private String pieceId;
    private String produceId;
    private String printId;
    private String producePieceNo;
    private String breed;
    private String pieceView;
    private String sheet;
    private BigDecimal printAmount;
    private String isFold;
    private String reamCount;
    private String lossRatio;
    private String lossReam;
    private String totalReamCount;
    private String machineId;
    private String machineName;
    private String workshopName;
    private String printType;
    //另行加放
    private String lxjf;
    //是否取板，1取版
    private String isTake;
    //总的状态
    private String printStatus;
    private Integer sort;//用于排序

    //印刷状态
    private String pressState;
    //覆膜状态
    private String coveringState;
    //封面裁切状态
    private String trimmingState;
    //折页状态
    private String foldState;
    //装订状态
    private String bindingState;

    //@TableField(fill = FieldFill.INSERT)
    private String createBy;

    //@TableField(fill = FieldFill.INSERT)
    private Date createTime;
    //工价类型
    private String wagesType;


    /** 累计已上报数量 */
    @TableField(exist = false)
    private BigDecimal totalNum;

    /** 最大允许上报数量 */
    @TableField(exist = false)
    private BigDecimal maxNum;

    /** 损耗系数 */
    @TableField(exist = false)
    private BigDecimal lossCoefficient;

    @TableField(exist = false)
    //白纸裁切机(也叫半代裁切机)
    private String whitecuttingMachine;
    @TableField(exist = false)
    //封面裁切机
    private String covercuttingMachine;
    @TableField(exist = false)
    //印刷机
    private String printMachine;
    @TableField(exist = false)
    //覆膜机
    private String coveringMachine;
    @TableField(exist = false)
    //折页机
    private String foldMachine;
    @TableField(exist = false)
    //装订机
    private String bindingMachine;
    @TableField(exist = false)
    //机台类型
    private String machineType;

//    //裁切累计报工量
//    private BigDecimal cuttingTotal;
//    //印刷
//    private BigDecimal printTotal;
//    //覆膜
//    private BigDecimal coveringTotal;
//    //二次裁切
//    private BigDecimal twoCuttingTotal;
//    //折页
//    private BigDecimal foldTotal;
//    //装订
//    private BigDecimal bindingTotal;
}
